
filename = "test.txt"
user_name = input("what's your name?\n")

with open(filename, "w") as target:
    target.write(user_name) 


